package com.example.demo1101.demo3;

public class Test {

    public static void main(String[] args) {
        BankCard bankCard = new BankCard();
        Boy boy = new Boy(bankCard);
        boy.setName("野猪佩奇");
        Girl girl = new Girl(bankCard);
        girl.setName("野猪乔治");
        boy.start();
        girl.start();


    }


}
